* 中心频率100Hz，带宽40Hz的带通滤波器
* .lib './sm046005-1j.hspice' typical   
*11
* 信号源定义
Vin in 0 AC 1
C1 in hp1 2e-07
R1 hp1 0 11500.0
C2 hp1 hp2 2e-07
R2 hp2 0 11500.0
C3 hp2 hp3 2e-07
R3 hp3 0 11500.0
C4 hp3 hp4 2e-07
R4 hp4 0 11500.0
C5 hp4 hp5 2e-07
R5 hp5 0 11500.0
C6 hp5 hp6 2e-07
R6 hp6 0 11500.0
C7 hp6 hp7 2e-07
R7 hp7 0 11500.0
C8 hp7 hp8 2e-07
R8 hp8 0 11500.0
C9 hp8 hp9 2e-07
R9 hp9 0 11500.0
C10 hp9 hp10 2e-07
R10 hp10 0 11500.0
C11 hp10 hp11 2e-07
R11 hp11 0 11500.0
C12 hp11 hp12 2e-07
R12 hp12 0 11500.0
C13 hp12 hp13 2e-07
R13 hp13 0 11500.0
C14 hp13 hp14 2e-07
R14 hp14 0 11500.0
C15 hp14 hp15 2e-07
R15 hp15 0 11500.0
C16 hp15 hp16 2e-07
R16 hp16 0 11500.0
C17 hp16 hp17 2e-07
R17 hp17 0 11500.0
C18 hp17 hp18 2e-07
R18 hp18 0 11500.0
C19 hp18 hp19 2e-07
R19 hp19 0 11500.0
C20 hp19 hp20 2e-07
R20 hp20 0 11500.0
C21 hp20 hp21 2e-07
R21 hp21 0 11500.0
C22 hp21 hp22 2e-07
R22 hp22 0 11500.0
C23 hp22 hp23 2e-07
R23 hp23 0 11500.0
C24 hp23 hp24 2e-07
R24 hp24 0 11500.0
C25 hp24 hp25 2e-07
R25 hp25 0 11500.0
C26 hp25 hp26 2e-07
R26 hp26 0 11500.0
C27 hp26 hp27 2e-07
R27 hp27 0 11500.0
C28 hp27 hp28 2e-07
R28 hp28 0 11500.0
C29 hp28 hp29 2e-07
R29 hp29 0 11500.0
C30 hp29 hp30 2e-07
R30 hp30 0 11500.0
C31 hp30 hp31 2e-07
R31 hp31 0 11500.0
C32 hp31 hp32 2e-07
R32 hp32 0 11500.0
C33 hp32 hp33 2e-07
R33 hp33 0 11500.0
C34 hp33 hp34 2e-07
R34 hp34 0 11500.0
C35 hp34 hp35 2e-07
R35 hp35 0 11500.0
C36 hp35 hp36 2e-07
R36 hp36 0 11500.0
C37 hp36 hp37 2e-07
R37 hp37 0 11500.0
C38 hp37 hp38 2e-07
R38 hp38 0 11500.0
C39 hp38 hp39 2e-07
R39 hp39 0 11500.0
C40 hp39 hp40 2e-07
R40 hp40 0 11500.0
C41 hp40 hp41 2e-07
R41 hp41 0 11500.0
C42 hp41 hp42 2e-07
R42 hp42 0 11500.0
C43 hp42 hp43 2e-07
R43 hp43 0 11500.0
C44 hp43 hp44 2e-07
R44 hp44 0 11500.0
C45 hp44 hp45 2e-07
R45 hp45 0 11500.0
C46 hp45 hp46 2e-07
R46 hp46 0 11500.0
C47 hp46 hp47 2e-07
R47 hp47 0 11500.0
C48 hp47 hp48 2e-07
R48 hp48 0 11500.0
C49 hp48 hp49 2e-07
R49 hp49 0 11500.0
C50 hp49 hp50 2e-07
R50 hp50 0 11500.0

* 50�׵�ͨ����Ŀ���ֹƵ�� �� 120Hz��
R51 hp50 lp1 93000.0
C51 lp1 0 1.2e-08
R52 lp1 lp2 93000.0
C52 lp2 0 1.2e-08
R53 lp2 lp3 93000.0
C53 lp3 0 1.2e-08
R54 lp3 lp4 93000.0
C54 lp4 0 1.2e-08
R55 lp4 lp5 93000.0
C55 lp5 0 1.2e-08
R56 lp5 lp6 93000.0
C56 lp6 0 1.2e-08
R57 lp6 lp7 93000.0
C57 lp7 0 1.2e-08
R58 lp7 lp8 93000.0
C58 lp8 0 1.2e-08
R59 lp8 lp9 93000.0
C59 lp9 0 1.2e-08
R60 lp9 lp10 93000.0
C60 lp10 0 1.2e-08
R61 lp10 lp11 93000.0
C61 lp11 0 1.2e-08
R62 lp11 lp12 93000.0
C62 lp12 0 1.2e-08
R63 lp12 lp13 93000.0
C63 lp13 0 1.2e-08
R64 lp13 lp14 93000.0
C64 lp14 0 1.2e-08
R65 lp14 lp15 93000.0
C65 lp15 0 1.2e-08
R66 lp15 lp16 93000.0
C66 lp16 0 1.2e-08
R67 lp16 lp17 93000.0
C67 lp17 0 1.2e-08
R68 lp17 lp18 93000.0
C68 lp18 0 1.2e-08
R69 lp18 lp19 93000.0
C69 lp19 0 1.2e-08
R70 lp19 lp20 93000.0
C70 lp20 0 1.2e-08
R71 lp20 lp21 93000.0
C71 lp21 0 1.2e-08
R72 lp21 lp22 93000.0
C72 lp22 0 1.2e-08
R73 lp22 lp23 93000.0
C73 lp23 0 1.2e-08
R74 lp23 lp24 93000.0
C74 lp24 0 1.2e-08
R75 lp24 lp25 93000.0
C75 lp25 0 1.2e-08
R76 lp25 lp26 93000.0
C76 lp26 0 1.2e-08
R77 lp26 lp27 93000.0
C77 lp27 0 1.2e-08
R78 lp27 lp28 93000.0
C78 lp28 0 1.2e-08
R79 lp28 lp29 93000.0
C79 lp29 0 1.2e-08
R80 lp29 lp30 93000.0
C80 lp30 0 1.2e-08
R81 lp30 lp31 93000.0
C81 lp31 0 1.2e-08
R82 lp31 lp32 93000.0
C82 lp32 0 1.2e-08
R83 lp32 lp33 93000.0
C83 lp33 0 1.2e-08
R84 lp33 lp34 93000.0
C84 lp34 0 1.2e-08
R85 lp34 lp35 93000.0
C85 lp35 0 1.2e-08
R86 lp35 lp36 93000.0
C86 lp36 0 1.2e-08
R87 lp36 lp37 93000.0
C87 lp37 0 1.2e-08
R88 lp37 lp38 93000.0
C88 lp38 0 1.2e-08
R89 lp38 lp39 93000.0
C89 lp39 0 1.2e-08
R90 lp39 lp40 93000.0
C90 lp40 0 1.2e-08
R91 lp40 lp41 93000.0
C91 lp41 0 1.2e-08
R92 lp41 lp42 93000.0
C92 lp42 0 1.2e-08
R93 lp42 lp43 93000.0
C93 lp43 0 1.2e-08
R94 lp43 lp44 93000.0
C94 lp44 0 1.2e-08
R95 lp44 lp45 93000.0
C95 lp45 0 1.2e-08
R96 lp45 lp46 93000.0
C96 lp46 0 1.2e-08
R97 lp46 lp47 93000.0
C97 lp47 0 1.2e-08
R98 lp47 lp48 93000.0
C98 lp48 0 1.2e-08
R99 lp48 lp49 93000.0
C99 lp49 0 1.2e-08
R100 lp49 out 93000.0
C100 out 0 1.2e-08


* 交流分析设置
.AC LIN 1000 1Hz 1kHz 

* 性能测量指令
.MEASURE AC max_vdb MAX VDB(out)          
.MEASURE AC f_low WHEN VDB(out)='max_vdb-3' CROSS=1  
.MEASURE AC f_high WHEN VDB(out)='max_vdb-3' CROSS=2 
.MEASURE AC bw PARAM='f_high-f_low'      
.MEASURE AC f_center PARAM='sqrt(f_low*f_high)' 

* 波形数据保存
.PROBE AC VDB(out) VP(out)  
.OPTIONS POST            
.END